#set($title = "智能会议预定系统-管理员-会议-新增")
<h2>$title</h2>
<form action="/books/add" method="post">
	<table class="table">
        <thead>
            <tr>
                <td>
                    名称
                </td>
                <td>
                    值
                </td>
            </tr>
        </thead>
        <tbody>
                <td>
                   会议室
                </td>
                <td>
                    <input type="text" name="meetingId" />
                </td>
            </tr>
            <tr>
                <td>
                    预约开始时间
                </td>
                <td>
                   <input type="text" readonly="readonly" value='$!date.format("yyyy-MM-dd HH:mm:ss",$book.getBookStartTime())' name='bookStartTime' id="bookStartTime"/>
                </td>
            </tr>
             <tr>
                <td>
                    预约结束时间
                </td>
                <td>
                   <input type="text" readonly="readonly" value='$!date.format("yyyy-MM-dd HH:mm:ss",$book.getBookEndTime())' name='bookEndTime' id="bookEndTime"/>
                </td>
            </tr>
            <tr>
                <td>
                   会议标题 
                </td>
                <td>
                    <input type="text" name="meetingTitle" value="$!book.getMeetingTitle()"/>
                </td>
            </tr>
            <tr>
                <td>
                  会议描述
                </td>
                <td>
                	<textarea name="meetingDescription" rows="3" cols="3">$!book.getMeetingDescription()</textarea>
                </td>
            </tr>
        </tbody>
    </table>
    <div class="row">
        <div class="span3 ">
        <button type="submit" class="ui-button-primary" value="新增"/>新增
        </button>
    </div>
	<div class="span3">
        <button type="button" href="/books/list" class="ui-button-success" value="返回"/>返回
    </div>
</div>
</div>
</form>
<script type="text/javascript">
    $(function(){
        $("button[href]").click(function(){
        
            window.location.href = $(this).attr("href");
			
        });
		 $('.selectpicker').selectpicker();
    });
</script>
